package com.hxgz.steel.dto;

import com.hxgz.steel.domain.AskInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@ApiModel("求购详情")
@Data
public class AskBuyDetailDto {

  private Long id;
  @ApiModelProperty("求购编号")
  private String askBuyCode;
  @ApiModelProperty("求购状态 0正在报价 1报价已结束 2已取消(计算的结果，非直接查询)")
  private Integer status;

  @ApiModelProperty("商店id")
  private Integer merchantId;

  @ApiModelProperty("商家图片")
  private String merchantPic;

  @ApiModelProperty("商家名称")
  private String merchantName;

  @ApiModelProperty("商家经营范围")
  private String merchantProcess;

  @ApiModelProperty("认证状态商铺审核状态 0待审核 1审核未通过 2审核已通过 3已禁用（为2的时候显示logo）")
  private Integer companyCert;
  @ApiModelProperty("认证状态商铺审核状态 0待审核 1审核未通过 2审核已通过 3已禁用（为2的时候显示logo）")
  private Integer cash;
  @ApiModelProperty("保证金状态 0不显示 1显示")
  private Integer moneyStatus;

  @ApiModelProperty("仓储加工 1是，0不显示")
  private Integer processStatus;

  private List<AskInfo> askInfoList;
  @ApiModelProperty("备注")
  private String remark;
  @ApiModelProperty("报价时限")
  private Integer timeLimit;
  @ApiModelProperty("匹配商家")
  private String matchMerchantNum;
  @ApiModelProperty("已报价商家数")
  private String offerMerchantNum;
  @ApiModelProperty("报价文件")
  private String askFileUrl;
  @ApiModelProperty("报价状态 0卖家为报价 1卖家已报价 2卖家已拒绝 3已取消")
  private Integer quotationStatus;

  private List<QuotationTempDto> quotationTempDtoList;

  public AskBuyDetailDto() {
  }

  public AskBuyDetailDto(Long id, String askBuyCode, Integer status, Integer merchantId, String merchantPic, String merchantName, String merchantProcess, Integer companyCert, Integer cash, Integer moneyStatus, Integer processStatus, List<AskInfo> askInfoList, String remark, Integer timeLimit, String matchMerchantNum, String offerMerchantNum, String askFileUrl, Integer quotationStatus, List<QuotationTempDto> quotationTempDtoList) {
    this.id = id;
    this.askBuyCode = askBuyCode;
    this.status = status;
    this.merchantId = merchantId;
    this.merchantPic = merchantPic;
    this.merchantName = merchantName;
    this.merchantProcess = merchantProcess;
    this.companyCert = companyCert;
    this.cash = cash;
    this.moneyStatus = moneyStatus;
    this.processStatus = processStatus;
    this.askInfoList = askInfoList;
    this.remark = remark;
    this.timeLimit = timeLimit;
    this.matchMerchantNum = matchMerchantNum;
    this.offerMerchantNum = offerMerchantNum;
    this.askFileUrl = askFileUrl;
    this.quotationStatus = quotationStatus;
    this.quotationTempDtoList = quotationTempDtoList;
  }
}
